-- GENERATED SPELL FOR [Lower City Operative] --


function spell0_19501(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15284,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19501', 615, 1)
end

function Sorts_19501(pUnit, Event)
local choix_sorts_19501 = math.random(0, 0)
if choix_sorts_19501 == 0 then
pUnit:RegisterEvent('spell0_19501', 1, 1)
end
end

function mob19501_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19501', math.random(1500, 3000), 1)
end

function mob19501_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19501_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19501_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19501, 1, 'mob19501_Action')
RegisterUnitEvent(19501, 2, 'mob19501_Leave')
RegisterUnitEvent(19501, 3, 'mob19501_Kill')
RegisterUnitEvent(19501, 4, 'mob19501_Die')
